<div class="channel-standard-layout wrapper style-<?php echo $output['code_channel_tit']['web_id'];?>">
  <div class="left-sidebar">
    <div class="title">
      <div class="txt-type">
        <h3 title="<?php echo $output['code_channel_tit']['code_info']['title'];?>"><?php echo $output['code_channel_tit']['code_info']['title'];?></h3>
      </div>
    </div>
    <div class="left-ads">
          <a href="<?php echo $output['code_channel_act']['code_info']['url'];?>" title="" target="_blank"> <img src="<?php echo UPLOAD_SITE_URL.'/'.$output['code_channel_act']['code_info']['pic'];?>" alt="<?php echo $output['code_channel_act']['code_info']['title'];?>"> </a>
      </div>
  </div>
  <div class="middle-layout">
    <ul class="tabs-nav">
    <?php
      if(!empty($output['code_recommend_list']['code_info'])){
        foreach ($output['code_recommend_list']['code_info'] as $kk => $vv) {
          ?>
            <li class="<?php echo $kk == 1 ? 'tabs-selected' : '';?>"><h3><?php echo $vv['recommend']['name'];?></h3></li>
          <?php
        }
      }
    ?>
    </ul>
    
      <?php
      if(!empty($output['code_recommend_list']['code_info'])){
        foreach ($output['code_recommend_list']['code_info'] as $kk => $vv) {
          ?>
          <div class="tabs-panel middle-goods-list <?php echo $kk == 1 ? '' : 'tabs-hide';?>">
              <ul>
          <?php
          if(!empty($vv['goods_list'])){
            foreach ($vv['goods_list'] as $k => $v) {
              ?>
                <li>
                    <dl>
                      <dt class="goods-name"><a target="_blank" href="<?php echo urlShop('goods','index',array('goods_id'=> $v['goods_id']));?>" title="<?php echo $v['goods_name'];?>"><?php echo $v['goods_name'];?></a></dt>
                      <dd class="goods-thumb"> <a target="_blank" href="<?php echo urlShop('goods','index',array('goods_id'=> $v['goods_id']));?>"> <img src="<?php echo UPLOAD_SITE_URL.'/'.$v['goods_pic'];?>" alt="<?php echo $v['goods_name'];?>" /> </a></dd>
                      <dd class="goods-price"><em>&yen;<?php echo $v['goods_price'];?></em></dd>
                    </dl>
                  </li>
              <?php
            }
          }
          ?>
            </ul>
          </div>
          <?php
        }
      }
    ?>
    </div>
  <div class="right-sidebar">
    <div class="picture">
        <a href="<?php echo $output['code_adv_a']['code_info']['url'];?>" title="<?php echo $output['code_adv_a']['code_info']['pic_name'];?>" target="_blank">
        <img src="<?php echo UPLOAD_SITE_URL.'/'.$output['code_adv_a']['code_info']['pic'];?>"/>
      </a>
    </div>
    <div class="picture">
        <a href="<?php echo $output['code_adv_b']['code_info']['url'];?>" title="<?php echo $output['code_adv_b']['code_info']['pic_name'];?>" target="_blank">
        <img src="<?php echo UPLOAD_SITE_URL.'/'.$output['code_adv_b']['code_info']['pic'];?>"/>
      </a>
    </div>
    <div class="picture">
        <a href="<?php echo $output['code_adv_c']['code_info']['url'];?>" title="<?php echo $output['code_adv_c']['code_info']['pic_name'];?>" target="_blank">
        <img src="<?php echo UPLOAD_SITE_URL.'/'.$output['code_adv_c']['code_info']['pic'];?>"/>
      </a>
    </div>
  </div>
</div>
